import ProxyInterface from '../proxy-interface';
import { SimpleSuccessHttpRequestModel } from '../model/user';

class SimpleHttpRequestProxy implements ProxyInterface<SimpleSuccessHttpRequestModel> {
  private request = new SimpleSuccessHttpRequestModel()

  constructor (responseData) {
    let data = responseData
    Object.assign<SimpleSuccessHttpRequestModel, any>(this.request, data)
  }

  getModel (): SimpleSuccessHttpRequestModel {
    return this.request
  }
}

export {
  SimpleHttpRequestProxy
}
